
import axios from "axios";

const service = axios.create({
    baseURL:'https://apis.netstart.cn/xmsc/'

})

service.interceptors.request.use(
    config=>{
        return config;
    },
    error=>{
        console.log("axiox中request报错",error);
        Promise.reject(error);
    }
)

service.interceptors.response.use(
    config=>{
        return config;
    },
    error=>{
        console.log("axiox中response报错",error);
        // Promise.reject(error);
    }

)
export default service;